package com.sky.checkutil.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * 代码检测vo
 *
 * @author: hjy
 * @create: 2023-12-28 11:28
 **/
@Data
public class CheckVO {

    @ExcelProperty(value = "目标类型")
    @ColumnWidth(value = 12)
    @ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
    public String sourceType;

    @ExcelProperty(value = "检测规则")
    @ColumnWidth(value = 30)
    public String rule = "是否添加注释";

    @ExcelProperty(value = "检测结果")
    @ColumnWidth(value = 12)
    @ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
    public String result = "通过";

    @ExcelProperty(value = "检测目标")
    @ColumnWidth(value = 60)
    public String source;

    @ExcelProperty(value = "检测内容")
    @ColumnWidth(value = 60)
    public String content;

}
